set more off
capture log close
cd *** Fill in path name here ***

//  program:    AnanatEtAl_income-college attenance gradient results
//  task:		Regressions of income-colleage attendance gradient on job loss ages 12-17, unweighted

log using *** Fill in file name here ***, replace text

**** ALL CHILDREN ****; 
// #1
// Load data
use AnanatEtAl_income_college_data.dta, clear

// #2
// Run IV regressions of income-college gradient on job losses
// Unweighted

ivreg2 collegeage19slope stated1-stated51 yeard* (JL_lagged1217sep = JL_lagged1217tic), cluster (stateno) first

clear

log close
